package com.wl.mapper;

import com.wl.pojo.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: treeHole
 * @author: 吴磊
 * @create: 2021-07-07 10:19
 */
public interface OrdersMapper {


    Integer deleteOrderById(@Param("id")String id);

    /**
     * 获得所有支付订单数量
     *
     * @return
     */

    Integer getAllOrderCount();

    /**
     * 获得所有支付订单
     *
     * @param start
     * @return
     */
    List<Orders> getAllOrder(@Param("start") int start);

    /**
     * 插入订单
     *
     * @param orders
     * @return
     */
    Integer insertOrder(Orders orders);

}
